package com.impression.chq.http;

import java.io.IOException;

import okhttp3.Call;
import okhttp3.Request;
import okhttp3.Response;

/**
 * @author CHQ
 * @version 1.0
 * @date 创建时间： 2016/12/3 16:40
 * @parameter
 * @return
 */
public abstract class ResultCallback<T> {
    public abstract void onStart();

    public abstract void onError(Call call, Exception e);

    public abstract void onSuccess(String result) throws IOException;
}
